package com.seanchenxi.gwt.wordpress.xmlrpc.service.model.impl;

import java.util.HashMap;

import com.seanchenxi.gwt.wordpress.domain.model.Tag;
import com.seanchenxi.gwt.xmlrpc.client.model.impl.BaseModelImpl;

public class TagImpl extends BaseModelImpl implements Tag {
	
	/**
	 * Generated id
	 */
	private static final long serialVersionUID = -581688309502718522L;

	public TagImpl() {
		super();
	}

	public TagImpl(HashMap<String, Object> properties) {
		super(properties);
	}

	@Override
	public int getTag_id() {
		return get("tag_id");
	}

	@Override
	public void setTag_id(int tag_id) {
		set("tag_id", tag_id);
	}

	@Override
	public String getName() {
		return get("name");
	}

	@Override
	public void setName(String name) {
		set("name", name);
	}

	@Override
	public int getCount() {
		return get("count");
	}

	@Override
	public void setCount(int count) {
		set("count", count);
	}

	@Override
	public String getSlug() {
		return get("slug");
	}

	@Override
	public void setSlug(String slug) {
		set("slug", slug);
	}

	@Override
	public String getHtmlUrl() {
		return get("html_url");
	}

	@Override
	public void setHtmlUrl(String html_url) {
		set("html_url", html_url);
	}

	@Override
	public String getRssUrl() {
		return get("rss_url");
	}

	@Override
	public void setRssUrl(String rss_url) {
		set("rss_url", rss_url);
	}

}
